Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference


prepareObjectName

This function enforces naming standards when creating new dynamic objects and writing them to the Repository. All saves pass through this function.

You can create a customized version of this function using the prescribed method of customizing managers.

Location: ry\app\rydesmngrp.i

Parameters:

INPUT pcObjectName AS CHARACTER

The suggested base name of the object, required if pcAction is SAVE.

INPUT pcResultCode AS CHARACTER

The result code for a customized object.

INPUT pcObjectString AS CHARACTER

An optional string that can pass additional info. Reserved for future use.

INPUT pcAction AS CHARACTER

The type of action requested. SAVE means the object name is being saved to the Repository. DEFAULT means that a default object name is requested.

INPUT pcObjectType AS CHARACTER

The object type being saved.

INPUT pcEntityName AS CHARACTER

The object’s entity mnemonic, required if pcAction is DEFAULT.

INPUT pcProductModule AS CHARACTER

The product module for the object, required if pcAction is SAVE.

OUTPUT pcNewObjectName AS CHARACTER

The new object name. This field must be unique, nonblank, and not null.

OUTPUT pcNewObjectExt AS CHARACTER

The object extension, if required.

Returns: CHARACTER

Notes: The InsertObjectMaster procedure calls this function using pcAction = 'Save'. The ObjectGenerator calls this function using pcAction = 'Default'. The AppBuilder Save dialog box calls this function using pcAction = 'Default'.

Examples: See the insertObjectMaster procedure in ry\app\rydesmngrp.i.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095